package com.woniu.controller.homepage;

import com.woniu.service.homePage.ITagService;
import com.woniu.util.ResData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 86180
 * @data 2023/3/10 17:23
 */
@RestController
@RequestMapping("/app/tag")
public class TagController {

    @Autowired
    private ITagService tagService;

    @RequestMapping("/queryAll")
    public ResData<?> queryAll(){
        return tagService.queryAll();
    }

}
